package com.cq.hd.member.api.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class RelationMerchantPageVo implements Serializable {

    @ApiModelProperty(value = "商户id")
    private Long id;

    @ApiModelProperty(value = "商户名称")
    private String merchantName;

    @ApiModelProperty(value = "是否是商家自有商户：1-否，2-是")
    private String ownState;

    @ApiModelProperty(value = "商户简称")
    private String merchantShortName;

    @ApiModelProperty(value = "商户头像")
    private String avatar;

    @ApiModelProperty(value = "所属行业code")
    private String mcc;

    @ApiModelProperty(value = "所属行业名称")
    private String mccName;

    @ApiModelProperty(value = "创建时间")
    @JSONField(format="yyyy.MM.dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "商家id")
    private Long businessId;

    @ApiModelProperty(value = "联系人姓名")
    private String contactName;

    @ApiModelProperty(value = "联系人手机号")
    private String contactMobileNo;

    @ApiModelProperty(value = "定位省份名称")
    private String provinceName;

    @ApiModelProperty(value = "定位市名称")
    private String cityName;

    @ApiModelProperty(value = "定位区县名称")
    private String countyName;

    @ApiModelProperty(value = "定位详细地址")
    private String position;

    @ApiModelProperty(value = "结算类型：1-自建账户 2-结算池账户")
    private Integer financialAccountType;
}
